<?php /* Smarty version 2.6.2, created on 2011-09-08 08:35:21
         compiled from menu/top_navigation.tpl */ ?>
<div id="TopMenuNav" >
<ul>
	<li><a href="?a=home">Home</a>
	<ul>
		<li><a href="?a=home">All List</a></li>
		<li><a href="?a=new">New List</a></li>
		<?php if (isset($this->_sections['g'])) unset($this->_sections['g']);
$this->_sections['g']['name'] = 'g';
$this->_sections['g']['loop'] = is_array($_loop=$this->_tpl_vars['groups_nav']) ? count($_loop) : max(0, (int)$_loop); unset($_loop);
$this->_sections['g']['show'] = true;
$this->_sections['g']['max'] = $this->_sections['g']['loop'];
$this->_sections['g']['step'] = 1;
$this->_sections['g']['start'] = $this->_sections['g']['step'] > 0 ? 0 : $this->_sections['g']['loop']-1;
if ($this->_sections['g']['show']) {
    $this->_sections['g']['total'] = $this->_sections['g']['loop'];
    if ($this->_sections['g']['total'] == 0)
        $this->_sections['g']['show'] = false;
} else
    $this->_sections['g']['total'] = 0;
if ($this->_sections['g']['show']):

            for ($this->_sections['g']['index'] = $this->_sections['g']['start'], $this->_sections['g']['iteration'] = 1;
                 $this->_sections['g']['iteration'] <= $this->_sections['g']['total'];
                 $this->_sections['g']['index'] += $this->_sections['g']['step'], $this->_sections['g']['iteration']++):
$this->_sections['g']['rownum'] = $this->_sections['g']['iteration'];
$this->_sections['g']['index_prev'] = $this->_sections['g']['index'] - $this->_sections['g']['step'];
$this->_sections['g']['index_next'] = $this->_sections['g']['index'] + $this->_sections['g']['step'];
$this->_sections['g']['first']      = ($this->_sections['g']['iteration'] == 1);
$this->_sections['g']['last']       = ($this->_sections['g']['iteration'] == $this->_sections['g']['total']);
?>
		<li><a href="?type=<?php echo $this->_tpl_vars['groups_nav'][$this->_sections['g']['index']]['id']; ?>
"> <?php echo $this->_tpl_vars['groups_nav'][$this->_sections['g']['index']]['nav_name']; ?>

		List</a></li>
		<?php endfor; endif; ?>
	</ul>
	</li>
	<li><a href="?a=add_program1">Add Program</a></li>
	<li><a href="?a=add_banner&action=add_banner1">Add Banner</a></li>
	<li><a href="?a=#">Blog</a></li>
	<li><a href="?a=news">News</a></li>
	<li><a href="?a=support">Support</a>
	<ul>
		<a href="#">Yahoo Message</a>
	</ul>
	<ul>
		<a href="#">Send a ticket</a>
	</ul>
	</li>
</ul>
</div>